import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2022-11-29
 * Time: 8:44
 */
public class test {
    public static void main1(String[] args) {
        int a=022;
    }
}
class Solution1 {
    public void merge(int[] nums1, int m, int[] nums2, int n) {
        int a=0;
        for (int i = m; i < m+n; i++) {
            nums1[i]=nums2[a++];
        }
        for (int i = 0; i < n+m; i++) {
            int flag=0;
            for (int j = 0; j <n+m -1-i; j++) {
                if(nums1[j]>nums1[j+1]){
                    int tmp=nums1[j];
                    nums1[j]=nums1[j+1];
                    nums1[j+1]=tmp;
                    flag=1;
                }
            }
            if(flag==0){
                break;
            }
        }
    }
}
class Solution {
    public int removeDuplicates(int[] nums) {
if(nums==null || nums.length==0) return 0;
int p=0;
int q=1;
while (q< nums.length){
    if (nums[p]!=nums[q]){
        if(q-p>1) {
            nums[p + 1] = nums[q];
        }
        p++;
    }
    q++;
}
    return p+1;
    }
}
/*
47.63
4 张十元
1 张五元
2 张一元
1 个五角
1 个一角
1 个贰分
1 个壹分

 */
class Main2{
    public static void main2(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a=scanner.nextDouble();
        System.out.println((int)(a/10)+" 张十元");
        System.out.println((int)((a%10)/5)+" 张五元");
        System.out.println((int)((a%5)/1)+" 张一元");
        System.out.println((int)((a%1.0)/0.5)+" 个五角");
        System.out.println((int)((a%0.5)/0.1)+" 个一角");
        System.out.println((int)((a%0.1)/0.02)+" 个贰分");
        System.out.println((int)((a%0.02)/0.01)+" 个壹分");

    }
}
class Main3{
    public static void main3(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double a=scanner.nextDouble();
       double C=(5*(a-32))/9;
        System.out.printf("%.2f",C);  //c为变量

    }
}
class Main4{
    public static void main4(String[] args) {
        double PI=3.14159;
        Scanner scanner = new Scanner(System.in);
        double r=scanner.nextDouble();
        System.out.println("The area for the circle of radius "+r+" is "+PI*r*r);
    }
}
class Main{
    public static void main(String[] args) {
        double temperature = 50;
        if (temperature >= 100)
            System.out.println("too hot");
        else if (temperature <= 40)
            System.out.println("too cold");
        else
            System.out.println("just right");

        Scanner scanner = new Scanner(System.in);
        int a=scanner.nextInt();
        int num=0;
        while (a>0){
            num+=(a%10);
            a/=10;
        }
        System.out.println(num);
        int count = 0;
        do {
            System.out.println("Welcome to Java");
        } while (count++ < 10);

    }
}


















